//
//  TopicTableViewCell.m
//  HomeDecoration
//
//  Created by xalo on 16/2/26.
//  Copyright © 2016年 美家项目组. All rights reserved.
//

#import "TopicTableViewCell.h"
<<<<<<< HEAD

@implementation TopicTableViewCell

=======
#import "TopicModel.h"
#import "UIImageView+WebCache.h"
@implementation TopicTableViewCell


-(void)setContentViewWithModel:(TopicModel *)model
{
    NSString *str = [model.briefDesc stringByAppendingString:@"\""];
    
    NSString *str1 = [@"\"" stringByAppendingString:str];
    
    self.briefDescLabel.text = str1;
    
    self.titleLabel.text = model.title;
    
    self.likeLabel.text = [NSString stringWithFormat:@"%ld",model.collectCount];
    
    self.checkLabel.text = [NSString stringWithFormat:@"%ld",model.readCount];
    
    [self.pictureView sd_setImageWithURL:[NSURL URLWithString:model.bannerImageUrl] placeholderImage:[UIImage imageNamed:@"4.jpg"]];

}














>>>>>>> 1975201db659495b68bacbc5bddd203a4c2ada18
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
